package com.book.util;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Random;

public class OrderUtils {
	
	public static String getOrderNumber(){
		String number = new SimpleDateFormat("yyyyMMddHHmmss").format(new Date());
		Random random = new Random();
		for (int i = 0; i < 10; i++) {
			number += random.nextInt(10);
		}
		
		return number;
	}
}
